package com.b2c.ftysys.sevice;

import java.util.List;
import com.b2c.ftysys.domain.B2cFsyStaff;
import com.b2c.ftysys.domain.Page;
import com.b2c.ftysys.view.application.AppErrorException;

public interface StaffInfoService {
	
	public int createStaff(B2cFsyStaff staff);
	
	public List<B2cFsyStaff> queryAllStaff(Page page);
	
	public List<B2cFsyStaff> queryStaffListByClause(B2cFsyStaff example);
	
	public int updateStaff(B2cFsyStaff staff);
	
	public int removeStaff(int staffId);
	
	public int ImportExcel(String fileAddr) throws AppErrorException;

	public List<B2cFsyStaff> queryByPinyin(String pinYinName);
}
